package com.wyh.domain.dto;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import io.swagger.v3.oas.annotations.media.Schema;
/**
 * <p>
 * 
 * </p>
 *
 * @author wyh
 * @since 2025-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Schema(description="Users对象")
public class UsersDto implements Serializable {

    private static final long serialVersionUID = 1L;

//    @Schema(description = "雪花ID")
//    @TableId(value = "id", type = IdType.NONE)
    private Long id;

    @Schema(name = "用户名",description = "用户名（唯一标识）")
    private String username;

    @Schema(name = "邮箱",description = "邮箱")
    private String email;

    @Schema(name = "密码",description = "密码")
    private String password;

    @Schema(name = "头像URL",description = "头像URL")
    private String avatar;

    @Schema(name = "QQ开放平台ID",description = "QQ开放平台ID")
    private String qqOpenid;

    @Schema(name = "微信UnionID", description = "微信UnionID")
    private String wechatUnionid;

    @Schema(name = "微信OpenID", description = "微信OpenID")
    private String wechatOpenid;

    @Schema(name = "创建时间", description = "创建时间")
    private LocalDateTime createdAt;

    @Schema(name = "更新时间", description = "更新时间")
    private LocalDateTime updatedAt;


}
